body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.dropdown {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;
}

.dropbtn {
    background-color: #3498db;
    color: white;
    padding: 10px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {background-color: #f1f1f1}

.dropdown:hover .dropdown-content {
    display: block;
}

header {
    background-color: #3498db;
    color: white;
    padding: 10px 0;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a, nav ul li button {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

nav ul li a:hover, nav ul li button:hover {
    background-color: #2980b9;
}

main {
    padding: 20px;
}

.contact-info, .blog-announcement {
    margin-bottom: 20px;
    background-color: #ecf0f1;
    padding: 20px;
    border-radius: 5px;
}

.wechat-qr {
    width: 100px;
    height: 100px;
}

footer {
    text-align: center;
    padding: 10px 0;
    background-color: #3498db;
    color: white;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* 添加一些基本的样式以实现页面动态下拉效果 */
.page-content {
    height: 2000px; /* 模拟长页面 */
    background: linear-gradient(to bottom, #ecf0f1, #bdc3c7);
    padding-bottom: 60px; /* 确保页脚不被内容覆盖 */
}
